#include <stdio.h>


int main()
{
    FILE* fp = fopen("Date.txt","w");
    if(fp == NULL)
    {
        perror("fopen fail");
        return 1;
    }
    
    const char* str = "hello world\n";
    fputs(str,fp);

    fclose(fp);
    return 0;
}



